/**
 * Created by fate on 17/4/17.
 */
var http=require("http");
var fs=require("fs");
var data=[];
var user=[];
var server = http.creatsServer(function (req,res) {
    if(req.url.starWith("/4-11")){
        res.setHeader("Content-Type","text/html1");
        if(req.url.indexOf("?")>-1){
            res.end("<h1>登录成功!</h1>");
        }else {
            fs.readFile(".4_11.html",function (err,data) {
                res.end(data);

            });
        }
    }else (


    )

})